<h1><center>Login Page</center></h1>
<?php
//echo form_tag('@prepareLogin',array('method' => 'post','id' => 'frm1'));
?>

<form action="<?php echo url_for('default/login') ?>" method="POST">
    <table>
        <?php echo $form ?>
            <tr>
                <td colspan="2">
                    <input type="submit" value="a">
                </td>
            </tr>
            <tr> 
                <td colspan="2" align="center"><?php echo submit_tag('Submit',''); ?></td>
            </tr>
    </table>
</form>